import { createSlice, PayloadAction } from '@reduxjs/toolkit';
import { fetchRegistration } from './auth.actions';

const initialState ={
	user: {},
	loading: false,
	error: null,
	success: false
};

export const userRegistrationSlice = createSlice({
	name: 'userRegistration',
	initialState,
	reducers: {
        
	},
	extraReducers: (builder) => {
		builder.addCase(fetchRegistration.pending, (state));
	}
});